<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KCX4Q85');</script>
<link rel="dns-prefetch" href="//xhemj.gitee.io">
<link rel="dns-prefetch" href="//hm.baidu.com">
<link rel="dns-prefetch" href="//statcounter.com">
<link rel="alternate" hreflang="x-default" href="//"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<title>付款给Xhemj</title>
<meta name="description" content="这只是Xhemj的付款码而已，也没有什么别的。欢迎大家给Xhemj付款哦！"/>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="xhemj">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta name="description" content="这只是Xhemj的付款码而已，也没有什么别的。欢迎大家给Xhemj付款哦！">
<meta name="keywords" content="xhemj,Xhemj,Wechat,QRCode,Alipay,付款">
    
<script>
    /*
    以下内容请用专门的 Html 编辑器(如 notepad++)进行编辑，切勿直接用记事本编辑，否则可能出现中文乱码！
    */ 
var setting = {
        /* 在以下【双引号】中粘贴QQ钱包收款链接 */ 
    qqUrl: "https://i.qianbao.qq.com/wallet/sqrcode.htm?m=tenpay&f=wallet&a=1&ac=CAEQ_8ap_gkYspuA8QU%3D_xxx_sign&u=2680841087&n=%E0%BE%89x%E0%BE%89h%E0%BE%89e%E0%BE%89m%E0%BE%89j%E0%BE%89",
        
        /* 在以下【双引号】中粘贴微信收款链接 */ 
    wechatUrl: "wxp://f2f0MASJRVaFKpU9jDTXeHL8sVSiZvgxXf_n",
        
        /* 在以下【双引号】中粘贴支付宝收款链接 */ 
    aliUrl: "https://qr.alipay.com/fkx146255qam4qnxul5zv65",
        
        // 用于动态生成二维码的API，一般不需要修改。
    qrcodeApi: "https://www.zhihu.com/qrcode?url="    
        /*
        备用二维码api：
        http://api.newday.me/share/image/qrcode?text=
        http://s.jiathis.com/qrcode.php?url=
        https://www.kuaizhan.com/common/encode-png?large=true&data=
        http://b.bshare.cn/barCode?site=weixin&url=
        https://api.qrserver.com/v1/create-qr-code/?size=150x150&margin=10&data=
        http://qr.topscan.com/api.php?text=
        https://bshare.optimix.asia/barCode?site=weixin&url=
        https://www.zhihu.com/qrcode?url=
        
        本多合一收款码作者 @megnkun(https://mkblog.cn)，转载请注明！
        Github： https://github.com/mengkunsoft/OneQRCode
        此版本已由@Xhemj(https://gitee.com/xhemj/)修改。
        */
        }
</script>
    
    <style>
    * {
        margin: 0; padding: 0;
        font-family: Microsoft yahei;
    }
    body {
        background-color: #fff;
    }
    .code-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding-bottom: 1px;
        display: none;
        background-color: #5c92ef;
    }
    .code-title {
        height: 100px;
        background-color: #f2f2f2;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 50%;
    }
    .code-area {
        text-align: center;
    }
    .code-area>img {
        margin: 80px 0;
        width: 60%;
        min-width: 100px;
    }
    .code-footer {
        height: 80px;
        text-align: center;
        background-color: #fff;
        color: #666;
        line-height: 80px;
        font-size: 20px;
        margin: -2px 2px 2px 2px;
    }
    
    #code-all>.code-title {
        background-image: url("");
    }
    
    #code-qq {
        background-color: #54b4ef;
    }
    #code-qq>.code-title {
        background-image: url("");
    }
    
    #code-wechat {
        background-color: #54bc6e;
    }
    #code-wechat>.code-title { 
        background-image: url("");
        
    }
</style>  
<style>
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+SC:700&display=swap&subset=chinese-simplified');
</style>  
</head>
<body>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KCX4Q85"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- 万能收款码展示区域 -->
    <div class="code-item" id="code-all">
        <div class="code-title"></div>
        <div class="code-area">
            <img id="page-url" src="">
        </div>
        <div class="code-footer" style="font-family: 'Noto Sans SC', sans-serif;">扫描以上二维码向我付款</div>
    </div>
    
    <!-- QQ钱包二维码展示区域 -->
    <div class="code-item" id="code-qq">
        <div class="code-title"></div>
        <div class="code-area">
            <img id="qq-url" src="">
        </div>
        <div class="code-footer" style="font-family: 'Noto Sans SC', sans-serif;">长按以上二维码向我付款</div>
    </div>
    
    <!-- 微信二维码展示区域 -->
    <div class="code-item" id="code-wechat">
        <div class="code-title"></div>
        <div class="code-area">
            <img id="wechat-url" src="">
        </div>
        <div class="code-footer" style="font-family: 'Noto Sans SC', sans-serif;">长按以上二维码向我付款</div>
    </div>
    
    <script>
    if(!(/^http(s*):\/\//.test(location.href)) || /^http(s*):\/\/localhost/.test(location.href)) {
        alert('本收款码需要网站空间进行中转，请先部署到网站下再访问');
        window.location.href='https://github.com/mengkunsoft/OneQRCode';
    }
    
    if(navigator.userAgent.match(/Alipay/i)) {
        /* 支付宝 */ 
        window.location.href = setting.aliUrl; 
    } else if(navigator.userAgent.match(/MicroMessenger\//i)) {
        /* 微信 */ 
        document.getElementById("wechat-url").src = setting.qrcodeApi + urlEncode(setting.wechatUrl);
        document.getElementById("code-wechat").style.display = "block";
    } else if(navigator.userAgent.match(/QQ\//i)) {
        /* QQ */ 
        document.getElementById("qq-url").src = setting.qrcodeApi + urlEncode(setting.qqUrl);
        document.getElementById("code-qq").style.display = "block";
    } else {
        /* 其它，显示“万能码” */ 
        document.getElementById("page-url").src = setting.qrcodeApi + urlEncode(window.location.href);
        document.getElementById("code-all").style.display = "block";
    }
    
    /*****************************************
     * url编码函数
     * 输入参数：待编码的字符串
     * 输出参数：编码好的
     ****************************************/
    function urlEncode(String) {
        return encodeURIComponent(String).replace(/'/g,"%27").replace(/"/g,"%22");	
    }
    </script>

</body>
<center>
<!-- Default Statcounter code for Xhemj.gitee.io
OneQRCodeforPay https://xhemj.gitee.io/oneQRCodeforPay/ -->
<script type="text/javascript">
var sc_project=12203249; 
var sc_invisible=0; 
var sc_security="f59e16ad"; 
var sc_https=1; 
var scJsHost = "https://";
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="Web Analytics"
href="https://statcounter.com/" target="_blank"><img
class="statcounter"
src="https://c.statcounter.com/12203249/0/f59e16ad/0/"
alt="Web Analytics"></a></div></noscript>
<!-- End of Statcounter Code -->
</center>
</body>
</html>
